function Hello($scope, $http) {
    $http.get('http://117.98.22.29:8080/user_posts?title=new_title&location=new_location').
        success(function(data) {
            //$scope.greeting = data;
        });
}

function Image($scope, $http) {
    $http({
	  method  : 'POST',
	  url     : 'http://106.209.169.5:8080/image_upload',
	  data    : $.param(xsrf),  // pass in data as strings
	  headers : { 'Content-Type': 'application/x-www-form-urlencoded' } 
	});
}
